<?php 
/*function getExpried($strTime=0,$intTime=0){
	$epriTime='';
	if($strTime){
		if($strTime==4){
		 $epriTime=date('Y-m-d',strtotime("+1 month",$intTime));
		}else{
			$epriTime=date("Y-m-d",$intTime + ((7*$strTime) * 24 * 60 * 60));
		}
	}
 return $epriTime;	
}
function getYearExpried($strTime='',$intTime=1){
	$epriTime='';
	$strTime=strtotime($strTime);	
	$epriTime=date('Y-m-d',strtotime("+$intTime year",$strTime));
	return $epriTime;	
}*/

function getYearExpried($strTime='',$intTime=1){
	$epriTime='';
	$strTime=strtotime($strTime);	
	$epriTime=date('Y-m-d',strtotime("+$intTime year",$strTime));
	return $epriTime;	
}


$yearE = getYearExpried(date("Y-m-d"),1) ;
echo $yearE ."<br>";
echo strtotime("now"). "<br>\n";
echo strtotime("10 September 2000"), "<br>\n";
echo strtotime("+1 day"). "<br>\n";
echo strtotime("+1 week"). "<br>\n";
echo strtotime("+1 week 2 days 4 hours 2 seconds"). "<br>\n";
echo strtotime("next Thursday"). "<br>\n";
echo strtotime("last Monday"). "<br>\n";


?>
